package com.example.securitydemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class SecurityController {


    @GetMapping("/hello")
    public Map hello(){

        Map<String,String> map = new HashMap<>();
        map.put("test","hello security");

        return  map;
    }
}
